---
title: "get component attributes · RUAL Documentation"
description: "Grabs the current attributes of the component"
canonical: https://docs.rual.nl/block-types/state actions/state_component_attributes
language: en
---

# get component attributes

This block is part of the [`state actions`](https://docs.rual.nl/block-types/state%20actions) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

Grabs the current attributes of the component

- component required `state`

- attributes `object` Returns the currents component attributes

A typical wiring for [get component attributes](https://docs.rual.nl/block-types/state%20actions/state_component_attributes): the `attributes` out pin feeds [custom field](https://docs.rual.nl/block-types/object/object_get_custom_field).

![Studio canvas example for the get component attributes block: typical wiring for get component attributes.](https://docs.rual.nl/canvas-examples/state_component_attributes.png)

### Version history

Introduced in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).
